<template>
  <div id="app">
	  <!-- 要 缓存的路由 -->
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"/>
    </keep-alive>
	
	<!-- 不 缓存的路由  -->
	 <router-view v-if="!$route.meta.keepAlive"/>
  </div>
</template>
<script>
export default{
	created() {
		this.$store.commit('INIT_USER')
	}
}
</script>
<style></style>
